From 1c7ea5aa9327278217a68099d7aec5b26792f8a7 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Sat, 2 Mar 2019 14:59:35 +0000 Subject: [PATCH] Use Python3 to create documentation Bug: https://github.com/statsmodels/statsmodels/pull/5348 Gbp-Pq: Name use-python3-for-doc-build --- docs/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 0f44820..db10681 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -65,18 +65,18 @@ html: @echo "Generating reST from examples folder" #$(TOOLSPATH)$(EXAMPLEBUILD) @echo "Generating datasets from installed statsmodels.datasets" - $(TOOLSPATH)$(DATASETBUILD) + python3 $(TOOLSPATH)$(DATASETBUILD) @echo "Generating notebooks from examples/notebooks folder" - $(TOOLSPATH)$(NOTEBOOKBUILD) --execute=True --allow_errors=True + python3 $(TOOLSPATH)$(NOTEBOOKBUILD) --execute=True --allow_errors=True @echo "Running sphinx-build" $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo "Copying rendered example notebooks" mkdir -p $(BUILDDIR)/html/examples/notebooks/generated cp source/examples/notebooks/generated/*html $(BUILDDIR)/html/examples/notebooks/generated #$(TOOLSPATH)$(EXAMPLEBUILD) - $(TOOLSPATH)$(FOLDTOC) $(BUILDDIR)/html/index.html + python3 $(TOOLSPATH)$(FOLDTOC) $(BUILDDIR)/html/index.html #$(TOOLSPATH)$(FOLDTOC) $(BUILDDIR)/html/examples/index.html ../_static - $(TOOLSPATH)$(FOLDTOC) $(BUILDDIR)/html/dev/index.html ../_static + python3 $(TOOLSPATH)$(FOLDTOC) $(BUILDDIR)/html/dev/index.html ../_static @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." -- 2.30.2